package global

import (
	"gin-wave-im/cache/redis_key"
	"gin-wave-im/config"
	ut "github.com/go-playground/universal-translator"
	"github.com/go-redis/redis"
	"github.com/spf13/viper"
	"go.uber.org/zap"
	"gorm.io/gorm"
)

var (
	GnViper     *viper.Viper
	GnConfig   config.Server
	GnLog      *zap.Logger
	GnDb       *gorm.DB
	GnRedis    *redis.Client
	GnTrans    ut.Translator
	GnRedisKey redis_key.RedisKey
)